package com.lagou.bean;

import com.lagou.service.MonitorService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author bobcheng
 * @date 2020/6/16
 */
@Component
public class ConsumerComponent {

    @Reference
    private MonitorService monitorService;

    public void testA() {
        monitorService.methodA();
    }

    public void testB() {
        monitorService.methodB();
    }

    public void testC() {
        monitorService.methodC();
    }
}
